<template>
  <view class="content">
    <image class="logo" src="/static/logo.png"></image>
    <view>
      <text class="title">{{ title }}</text>
    </view>
    <!-- <view>
      <uni-calendar ref="calendar" :insert="false" @confirm="confirm" />
      <button @click="open">打开日历</button>
    </view> -->
    <uni-icons type="contact" size="30"></uni-icons>
  </view>
</template>

<script>
export default {
  data() {
    return {
      title: "Hello",
    };
  },
  onLoad() {},
  methods: {
    methods: {
      open() {
        this.$refs.calendar.open();
      },
      confirm(e) {
        console.log(e);
      },
    },
  },
};
</script>

<style lang="scss">
$color: red;
.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo {
  height: 200rpx;
  width: 200rpx;
  margin: 200rpx auto 50rpx auto;
}

.text-area {
  display: flex;
  justify-content: center;
}

.title {
  font-size: 36rpx;
  color: $color;
}
</style>
